#include "sort.h"


void Test()
{
	int* a = (int*)malloc(sizeof(int) * N);
	for (int i = 0; i < N; i++)
	{
		a[i] = rand();
	}
	InsertSortUp(a, N);
	//printf("InsertSort:");
	//PrintfSort(a, N);
	//ShellSortUp(a, N);
	//printf("ShellSort:");
	//PrintfSort(a, N);
	SelectSortUp(a, N);
	printf("SelectSort:");
	PrintfSort(a, N);
	HeapSortUp(a, N);
	printf("HeapSort:");
	PrintfSort(a, N);
}

int main()
{
	Test();
	return 0;
}